import { ParamsBodyquestionaireEditQuestionaireConfigPost } from '@/services/quest';
import { Questionaire } from '@/store/design/types';

export default class EditAdapter {
  compose(
    value: Questionaire,
  ): ParamsBodyquestionaireEditQuestionaireConfigPost {
    const vo: ParamsBodyquestionaireEditQuestionaireConfigPost = {
      endTime: value.endTime,
      explain: value.explanation,
      startTime: value.startTime,
      submitTips: value.submissionTips,
      title: value.queTitle,
      queId: value.queId,
      // delFlag: value.delFlag,
    };
    return vo;
  }
}
